﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Model.Public
{
    /// 接口请求参数协议
    /// <summary>
    /// 接口请求参数协议
    /// </summary>
    public class RequestParam
    {
        /// account id 账号id
        /// <summary>
        /// account id 账号id
        /// </summary>
        public string u { get; set; }

        /// request_count 请求个数
        /// <summary>
        /// request_count 请求个数
        /// </summary>
        public int t { get; set; }

        /// session_id token
        /// <summary>
        /// session_id token
        /// </summary>
        public string s { get; set; }

        /// md5秘钥
        /// <summary>
        /// md5秘钥
        /// </summary>
        public string k { get; set; }

        /// 参数值
        /// <summary>
        /// 参数值
        /// </summary>
        public List<object> d { get; set; }
    }

    /// 参数值 对应RequestParam d
    /// <summary>
    /// 参数值 对应RequestParam d
    /// </summary>
    public class ParamData
    {
        /// sequence_id 序列id
        /// <summary>
        /// sequence_id 序列id
        /// </summary>
        public string o { get; set; }

        /// command id 功能模块id
        /// <summary>
        /// command id 功能模块id
        /// </summary>
        public int c { get; set; }

        /// 参数
        /// <summary>
        /// 参数
        /// </summary>
        public Dictionary<string, object> d { get; set; }
    }
}